home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: awhang8367@aol.com (AWhang8367)
- Newsgroups: comp.lang.c++
- Subject: Object with Interrupt Service Routine
- Date: 12 Jan 1996 16:09:42 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4d6imm$okq@newsbf02.news.aol.com>
- Reply-To: awhang8367@aol.com (AWhang8367)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- I have been struggling to create an object that handles hardware
- interrupt directly. Particularly with the setvect function as it takes in
- pointers to interrupts
- ^^^^^^^^^
- and not to objects. Two things I can do (and I have accomplished ther
- former):
-
- 1) Use an interrupt service routine to call the object.
- 2) directly write the address of the member function to the Interrupt
- vector table
-
- Both implementations seems to be very clumsy. Does anyone know of a
- good way of doing it? Any pointer or email interrupt will be greatly
- appreciated.
-